<html>
<head>
<title></title>
<link rel="stylesheet" href="../../../../Styles/Default.css">
</head>

<body bgcolor="#FFFFFF">
		<p class="Decl"><strong>function</strong> Mirror(Value: Integer; Max: Integer): Integer; <strong>overload</strong>;</p>
		<p class="Decl"><strong>function</strong> Mirror(Value: Integer; Min: Integer; Max: Integer): Integer; <strong>overload</strong>;</p>
		<h2>Description</h2>
		<p class="Body">First version mirrors integer <i>Value</i> in [0..<i>Max</i>] range. E.g. if <i>Value</i> is 10 and <i>Max</i> is 9, result will be 8.</p>
		<p class="Body">Second version mirrors integer <i>Value</i> in [<i>Min</i>..<i>Max</i>] range.</p>
		<p class="Body"></p>
		<p class="Body">This function is used in <a href="../../GR32/Types/TWrapMode.htm">TWrapMode</a> <em>wmMirror</em>.</p>
		<p class="Body"></p>
		<p id="hidden">[See Also]: <a href="Clamp.htm">Clamp</a>, <a href="Wrap.htm">Wrap</a></p>
</body>
</html>
